package poker_sim;


import javax.swing.JButton;
import javax.swing.JPanel;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Rob
 */
public class ActionBar extends JPanel
{
    //65,23
    JButton Check;
    JButton Fold;
    JButton Call;
    JButton Bet;
    JButton Raise;
    JButton Muck;
    public ActionBar()
    {
        Check = new JButton("Check");
        Fold = new JButton("Fold");
        Call = new JButton("Call");
        Bet = new JButton("Bet");
        Raise = new JButton("Raise");
        Muck = new JButton("Muck");
        this.add(Check);
        this.add(Fold);
        this.add(Call);
        this.add(Bet);
        this.add(Raise);
        this.add(Muck);
        for(int i = 0; i < 6;i++)
        {
            ((JButton)this.getComponent(i)).setSize(65, 23);
            ((JButton)this.getComponent(i)).setLocation(i*65, 0);
        }
        this.setSize(6*65, 23);
    }
}
